﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage : System.Web.UI.MasterPage
{
    public String UserId
    {
        get
        {
            if (Request.Cookies["user"] == null)
            {
                return "";
            }
            var user = Request.Cookies["user"];
            return user.Values["user"];
        }
    }
    public String Password
    {
        get
        {
            if (Request.Cookies["user"] == null)
            {
                return "";
            }
            var user = Request.Cookies["user"];
            return user.Values["pw"];
        }
    }
    protected void Page_Load(object sender, EventArgs e)
    {
    }
   
}
